package com.jthinker.service;

import com.jthinker.bean.vo.QueryResult;
import com.jthinker.bean.vo.SearchFilter;

import java.util.Map;

/**
 * User: Gang Chen
 * Date: 2015/3/23 21:44
 */
public interface CommonService
{
    QueryResult<Map<String, Object>> queryTable(SearchFilter filter, String table);

    QueryResult<Map<String, Object>> querySql(SearchFilter filter, String sql);
}
